package com.bsoft.gol.hcs.satisfaction.bean.request;

import hcn.util.validation.InvokeType;
import hcn.util.validation.ValidationAnnotaion;

import java.io.Serializable;

/**
 * @author tongtp
 * @version v0.1
 * @Package satisfaction.bean.request
 * @className QuerySurveyForPatientRequest
 * @description 患者端查询满意度调查记录
 * @create 2020-09-29 17:00
 **/
public class QuerySurveyForPatientRequest implements Serializable {

	@ValidationAnnotaion.NotNull(errorDescription = "用户id不能为空")
	private String patientUserId;
	//问卷填写状态 0:未填写问卷   1:已填写问卷
	//为空则表示查询查询全部
	private String surveyStatus;
	@ValidationAnnotaion.NotNull(errorDescription = "pageNo不能为空", type = InvokeType.NUMBER)
	private Integer pageNo;
	@ValidationAnnotaion.NotNull(errorDescription = "pageSize不能为空", type = InvokeType.NUMBER)
	private Integer pageSize;

	@Override
	public String toString() {
		return "QuerySurveyForPatientRequest{" +
				"patientUserId='" + patientUserId + '\'' +
				", surveyStatus='" + surveyStatus + '\'' +
				", pageNo=" + pageNo +
				", pageSize=" + pageSize +
				'}';
	}

	public String getPatientUserId() {
		return patientUserId;
	}

	public void setPatientUserId(String patientUserId) {
		this.patientUserId = patientUserId;
	}

	public String getSurveyStatus() {
		return surveyStatus;
	}

	public void setSurveyStatus(String surveyStatus) {
		this.surveyStatus = surveyStatus;
	}

	public Integer getPageNo() {
		return pageNo;
	}

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
}
